:root {
  --text1: #121826;
  --text2: #3C3E42;
  --text3: #848484;
  --text4: #979797;
  --text5: #C3C3C5;
  --text6: #6F6F6F;
  --text-green: #2CB5A5;
}

body {
  padding-bottom: 85px;
}

.home-header {
  position: relative;
  height: 34.6667vw;
  padding: 8vw 4vw 0;
}

.home-header::before {
  content: '';
  height: 29.3333vw;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #3ECEC5D8 0%, #26BCC6 100%);
  /* 第一个值代表水平渐变半径，第二个代表垂直渐变半径 */
  border-bottom-left-radius: 40vw 5.3333vw;
  border-bottom-right-radius: 40vw 5.3333vw;
}

.home-header h1 {
  position: relative;
  color: white;
  font-size: 4.8vw;
  font-weight: 400;
}

.home-header .search {
  position: absolute;
  bottom: 0;
  width: calc(100% - 8vw);
  height: 10.6667vw;
  padding-left: 5.6vw;
  line-height: 10.6667vw;
  border-radius: 11.7333vw;
  background: #FFFFFF;
  font-size: 3.4667vw;
  color: var(--text4);
  box-shadow: 0vw 4vw 5.8667vw -1.8667vw #E0ECFAD1;
}

.home-header .search img {
  width: 4.2667vw;
  height: 4.2667vw;
  /* 和文字对齐 */
  vertical-align: middle;
  margin-right: 2.6667vw;
}

.home-nav {
  padding: 23px 15px;
}


.home-nav .row {
  display: flex;
  align-items: center;
}

.home-nav .row a {
  flex: 1;
  text-align: center;
}

.home-nav .row a img {
  width: 46px;
  height: 46px;
}

.home-nav .row a h3 {
  font-size: 14px;
  color: var(--text1);
  font-weight: 600;
  margin-bottom: 4px;
}

.home-nav .row a p {
  font-size: 11px;
  color: var(--text3);
}

.home-nav .col-4 {
  margin-top: 23px;
}

.col-4 a img {
  width: 31px;
  height: 31px;
}

.col-4 a p {
  font-size: 13px;
  color: var(--text2);
}

/* banner */
.banner {
  height: 120px;
  padding: 10px 15px;
}

.banner img {
  width: 100%;
  height: 100%;
}

.home-tabs .tabs-card {
  position: sticky;
  top: 0;
  height: 44px;
  line-height: 44px;
  background-color: #FFFFFF;
}

.home-tabs .tabs-card ul {
  display: flex;
}

.home-tabs .tabs-card ul li {
  padding: 0 13px;
  color: var(--text4);
  font-size: 14px;
}

.home-tabs .tabs-card ul .active {
  color: var(--text1);
  font-weight: 600;
}

.home-tabs .tabs-card .line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20px;
  height: 2px;
  background-color: var(--text-green);
  transform: translateX(70px);
}

.tabs-content {
  padding: 0 15px;
}

/* content */
.content-item {
  padding: 20px 0 15px;
  border-bottom: 1px solid var(--text5);
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item-header .avatar {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.item-header .avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.item-header button {
  width: 66px;
  height: 27px;
  background: transparent;
  border: 1px solid var(--text-green);
  border-radius: 13.5px;
  font-size: 11px;
}

.item-header .info {
  flex: 1;
}

.item-header .info .name {
  font-size: 14px;
  color: var(--text2);
}

.item-header .info .desc {
  font-size: 12px;
  color: var(--text5);
  margin-top: 4px;
}

.item-con {}

.item-con .title {
  font-size: 16px;
  color: var(--text1);
  font-weight: 600;
  margin: 7px 0;
}

.item-con .tags {
  font-size: 12px;
  color: var(--text-green);
}

.item-con .info {
  font-size: 14px;
  line-height: 24px;
  color: var(--text6);
  /* 多行显示省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.item-con .imgs {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 10px;
}


.item-con .imgs figure {
  width: 106px;
  height: 106px;
  margin: 0;
}

.item-con .imgs figure img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
}

.logs span {
  font-size: 12px;
  color: var(--text5);
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 85px;
  background-color: #fff;
}

.footer ul {
  display: flex;
  height: 51px;
  padding-top: 10px;
}

.footer ul li {
  flex: 1;
  text-align: center;
  height: 100%;
}

.footer ul li img {
  width: 17px;
  height: 18px;
}

.footer ul li p {
  font-size: 10px;
  color: var(--text6);
}